package JavaCore;

public class MethodTest2 {
	
	public String printName(){
		String str = "String printName()";
		return str;
	}

	public static void main(String[] args) {
		MethodTest2 mt2 = new MethodTest2();
		String s = mt2.printName();
		System.out.println(s);
	}

}
